package com.insmess.speech.service;

import com.insmess.speech.dto.AsrDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;

public interface AsrService {

    /**
     * 语音识别
     * @param file
     * @return
     */
    String asr(MultipartFile file);

    /**
     * 语音识别
     * @param file
     * @param asrDto
     * @return
     */
    String asr(File file, AsrDto asrDto);

    /**
     * 语音识别
     * @param file
     * @return
     */
    String asr(File file);
}
